<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: yield/user_task.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_76a4952186d2aa80a822dd50f57a9a1c.html">yield</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">user_task.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="user__config_8h_source.html">user_config.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="user__task_8h_source.html">user_task.h</a>&quot;</code><br />
</div>
<p><a href="user__task_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a3c0457d493868f331ce63d0ef71aeb3e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a3c0457d493868f331ce63d0ef71aeb3e">CONT_STACKSIZE</a>&#160;&#160;&#160;(1024*4)</td></tr>
<tr class="separator:a3c0457d493868f331ce63d0ef71aeb3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d0ab51c5d6bf65b8d4bec06352bfd8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a61d0ab51c5d6bf65b8d4bec06352bfd8">LOOP_TASK_PRIORITY</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a61d0ab51c5d6bf65b8d4bec06352bfd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afef437b5eacfad79f0be8a7d1c26e2eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#afef437b5eacfad79f0be8a7d1c26e2eb">LOOP_QUEUE_SIZE</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:afef437b5eacfad79f0be8a7d1c26e2eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be2bcf04639d2940e4d48afcde62119"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a3be2bcf04639d2940e4d48afcde62119">OPTIMISTIC_YIELD_TIME_US</a>&#160;&#160;&#160;16000</td></tr>
<tr class="separator:a3be2bcf04639d2940e4d48afcde62119"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7962f8536e3c743c8380411e184c7e2f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a7962f8536e3c743c8380411e184c7e2f">atexit</a> (void(*func)())</td></tr>
<tr class="separator:a7962f8536e3c743c8380411e184c7e2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe461d27b9c48d5921c00d521181f12f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#afe461d27b9c48d5921c00d521181f12f">loop</a> ()</td></tr>
<tr class="separator:afe461d27b9c48d5921c00d521181f12f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc01d736fe50cf5b977f755b675f11d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a4fc01d736fe50cf5b977f755b675f11d">setup</a> ()</td></tr>
<tr class="memdesc:a4fc01d736fe50cf5b977f755b675f11d"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="send_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a> Initialize user task  <a href="#a4fc01d736fe50cf5b977f755b675f11d">More...</a><br /></td></tr>
<tr class="separator:a4fc01d736fe50cf5b977f755b675f11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade20ba3eb51f42d2b2deb917303c9a5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cont_8h.html#a7d4cc1b0ca5758698479eb6acc2da2c5">cont_t</a> g_cont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#ade20ba3eb51f42d2b2deb917303c9a5e">__attribute__</a> ((aligned(16)))</td></tr>
<tr class="separator:ade20ba3eb51f42d2b2deb917303c9a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac54f53dc342019e8db34f4aa581a5792"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#ac54f53dc342019e8db34f4aa581a5792">abort</a> ()</td></tr>
<tr class="separator:ac54f53dc342019e8db34f4aa581a5792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88e45631d7959d57631982c6b57e3be7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a88e45631d7959d57631982c6b57e3be7">esp_yield</a> ()</td></tr>
<tr class="separator:a88e45631d7959d57631982c6b57e3be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a3c589a14dfdc0378d8c190aba6151a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a5a3c589a14dfdc0378d8c190aba6151a">esp_schedule</a> ()</td></tr>
<tr class="separator:a5a3c589a14dfdc0378d8c190aba6151a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58c8b2ad0ea491a6642e5e1cbd358c89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a58c8b2ad0ea491a6642e5e1cbd358c89">yield</a> ()</td></tr>
<tr class="separator:a58c8b2ad0ea491a6642e5e1cbd358c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a863d8bc03e69f2efee6042bcec7b456b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a863d8bc03e69f2efee6042bcec7b456b">optimistic_yield</a> (<a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> interval_us)</td></tr>
<tr class="separator:a863d8bc03e69f2efee6042bcec7b456b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d42952a725206506581b013ced1810c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a6d42952a725206506581b013ced1810c">loop_wrapper</a> ()</td></tr>
<tr class="separator:a6d42952a725206506581b013ced1810c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5337ed741f1d165fe21b7d905523fb6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#ac5337ed741f1d165fe21b7d905523fb6">loop_task</a> (os_event_t *events)</td></tr>
<tr class="separator:ac5337ed741f1d165fe21b7d905523fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5edab2a250321a1426438782d96287b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a5edab2a250321a1426438782d96287b1">init_done</a> ()</td></tr>
<tr class="separator:a5edab2a250321a1426438782d96287b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8253cd89ed4b268472ed62f4f2074ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#aa8253cd89ed4b268472ed62f4f2074ae">user_init</a> (void)</td></tr>
<tr class="separator:aa8253cd89ed4b268472ed62f4f2074ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a0969e343595ac7e258c846fe432fe84a"><td class="memItemLeft" align="right" valign="top">struct rst_info&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a0969e343595ac7e258c846fe432fe84a">resetInfo</a></td></tr>
<tr class="separator:a0969e343595ac7e258c846fe432fe84a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a603a324b0a14c7c8885085305a2470"><td class="memItemLeft" align="right" valign="top">static os_event_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#a3a603a324b0a14c7c8885085305a2470">g_loop_queue</a> [<a class="el" href="user__task_8c.html#afef437b5eacfad79f0be8a7d1c26e2eb">LOOP_QUEUE_SIZE</a>]</td></tr>
<tr class="separator:a3a603a324b0a14c7c8885085305a2470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeee3f63dedd650a90c57338b762af67e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#aeee3f63dedd650a90c57338b762af67e">g_micros_at_task_start</a></td></tr>
<tr class="separator:aeee3f63dedd650a90c57338b762af67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac27ff692005ec468df1da71ae8840396"><td class="memItemLeft" align="right" valign="top"><a class="el" href="user__config_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__task_8c.html#ac27ff692005ec468df1da71ae8840396">setup_done</a> = <a class="el" href="user__config_8h.html#af6a258d8f3ee5206d682d799316314b1ae9de385ef6fe9bf3360d1038396b884c">false</a></td></tr>
<tr class="separator:ac27ff692005ec468df1da71ae8840396"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a3c0457d493868f331ce63d0ef71aeb3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONT_STACKSIZE&#160;&#160;&#160;(1024*4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00029">29</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="afef437b5eacfad79f0be8a7d1c26e2eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOOP_QUEUE_SIZE&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00037">37</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00160">user_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a61d0ab51c5d6bf65b8d4bec06352bfd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOOP_TASK_PRIORITY&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00036">36</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00079">esp_schedule()</a>, and <a class="el" href="user__task_8c_source.html#l00160">user_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a3be2bcf04639d2940e4d48afcde62119"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPTIMISTIC_YIELD_TIME_US&#160;&#160;&#160;16000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00039">39</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ade20ba3eb51f42d2b2deb917303c9a5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cont_8h.html#a7d4cc1b0ca5758698479eb6acc2da2c5">cont_t</a> g_cont __attribute__ </td>
          <td>(</td>
          <td class="paramtype">(aligned(16))&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00043">atexit()</a>.</p>

</div>
</div>
<a class="anchor" id="ac54f53dc342019e8db34f4aa581a5792"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void abort </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00057">57</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00137">loop_task()</a>, and <a class="el" href="user__task_8c_source.html#l00086">yield()</a>.</p>

</div>
</div>
<a class="anchor" id="a7962f8536e3c743c8380411e184c7e2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int atexit </td>
          <td>(</td>
          <td class="paramtype">void(*)()&#160;</td>
          <td class="paramname"><em>func</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00043">43</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5a3c589a14dfdc0378d8c190aba6151a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void esp_schedule </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00079">79</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00149">init_done()</a>, <a class="el" href="user__task_8c_source.html#l00113">loop_wrapper()</a>, <a class="el" href="web_8c_source.html#l01928">web_data_connect_callback()</a>, <a class="el" href="web_8c_source.html#l01854">web_data_disconnect_callback()</a>, <a class="el" href="web_8c_source.html#l01895">web_data_error_callback()</a>, <a class="el" href="web_8c_source.html#l01735">web_data_receive_callback()</a>, <a class="el" href="web_8c_source.html#l01810">web_data_sent_callback()</a>, and <a class="el" href="user__task_8c_source.html#l00086">yield()</a>.</p>

</div>
</div>
<a class="anchor" id="a88e45631d7959d57631982c6b57e3be7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void esp_yield </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00067">67</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00086">yield()</a>.</p>

</div>
</div>
<a class="anchor" id="a5edab2a250321a1426438782d96287b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void init_done </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00149">149</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00160">user_init()</a>.</p>

</div>
</div>
<a class="anchor" id="afe461d27b9c48d5921c00d521181f12f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void loop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__main_8c_source.html#l00533">533</a> of file <a class="el" href="user__main_8c_source.html">user_main.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00043">atexit()</a>, and <a class="el" href="user__task_8c_source.html#l00113">loop_wrapper()</a>.</p>

</div>
</div>
<a class="anchor" id="ac5337ed741f1d165fe21b7d905523fb6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void loop_task </td>
          <td>(</td>
          <td class="paramtype">os_event_t *&#160;</td>
          <td class="paramname"><em>events</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00137">137</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00160">user_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a6d42952a725206506581b013ced1810c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void loop_wrapper </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00113">113</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00137">loop_task()</a>.</p>

</div>
</div>
<a class="anchor" id="a863d8bc03e69f2efee6042bcec7b456b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void optimistic_yield </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>interval_us</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00102">102</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="posix__tests_8c_source.html#l00259">cat()</a>, <a class="el" href="posix__tests_8c_source.html#l00302">copy()</a>, <a class="el" href="fatfs__tests_8c_source.html#l00313">fatfs_ls()</a>, <a class="el" href="fatfs__sup_8c_source.html#l00194">fatfs_scan_files()</a>, <a class="el" href="posix_8c_source.html#l00216">fgetc()</a>, <a class="el" href="posix_8c_source.html#l00278">fputc()</a>, <a class="el" href="posix__tests_8c_source.html#l00363">hexdump()</a>, <a class="el" href="posix__tests_8c_source.html#l00517">ls()</a>, <a class="el" href="mmc__hal_8c_source.html#l00172">mmc_test_timeout()</a>, <a class="el" href="posix__tests_8c_source.html#l00626">sum()</a>, <a class="el" href="posix__tests_8c_source.html#l00435">testpage()</a>, <a class="el" href="ili9341_8c_source.html#l00234">tft_bit_blit()</a>, <a class="el" href="ili9341_8c_source.html#l00627">tft_fillRectWH()</a>, <a class="el" href="ili9341_8c_source.html#l00416">tft_floodline()</a>, <a class="el" href="ili9341_8c_source.html#l00837">tft_readRect()</a>, <a class="el" href="ili9341_8c_source.html#l00745">tft_writeRect()</a>, <a class="el" href="timetests_8c_source.html#l00099">timetests()</a>, <a class="el" href="uart_8c_source.html#l00406">uart_flush()</a>, <a class="el" href="uart_8c_source.html#l00304">uart_getb()</a>, <a class="el" href="uart_8c_source.html#l00337">uart_getc()</a>, <a class="el" href="uart_8c_source.html#l00289">uart_putb()</a>, <a class="el" href="web_8c_source.html#l00195">wait_send()</a>, and <a class="el" href="wire_8c_source.html#l00060">wire_draw()</a>.</p>

</div>
</div>
<a class="anchor" id="a4fc01d736fe50cf5b977f755b675f11d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setup </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="send_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a> Initialize user task </p>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

<p>Definition at line <a class="el" href="user__main_8c_source.html#l00971">971</a> of file <a class="el" href="user__main_8c_source.html">user_main.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00043">atexit()</a>, <a class="el" href="user__task_8c_source.html#l00113">loop_wrapper()</a>, and <a class="el" href="user__task_8c_source.html#l00160">user_init()</a>.</p>

</div>
</div>
<a class="anchor" id="aa8253cd89ed4b268472ed62f4f2074ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void user_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00160">160</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="a58c8b2ad0ea491a6642e5e1cbd358c89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void yield </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00086">86</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

<p>Referenced by <a class="el" href="user__task_8c_source.html#l00102">optimistic_yield()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a3a603a324b0a14c7c8885085305a2470"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">os_event_t g_loop_queue[<a class="el" href="user__task_8c.html#afef437b5eacfad79f0be8a7d1c26e2eb">LOOP_QUEUE_SIZE</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00053">53</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="aeee3f63dedd650a90c57338b762af67e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> g_micros_at_task_start</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00055">55</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0969e343595ac7e258c846fe432fe84a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct rst_info resetInfo</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00041">41</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
<a class="anchor" id="ac27ff692005ec468df1da71ae8840396"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="user__config_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> setup_done = <a class="el" href="user__config_8h.html#af6a258d8f3ee5206d682d799316314b1ae9de385ef6fe9bf3360d1038396b884c">false</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="user__task_8c_source.html#l00112">112</a> of file <a class="el" href="user__task_8c_source.html">user_task.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:17 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
